﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Caliburn.Micro;
using System.ComponentModel.Composition;
using System.Collections;
using System.Collections.Generic;

namespace BizVal.Client.SL.ViewModels
{
    [Export(typeof(ResultsViewModel))]
    public class ResultsViewModel : PropertyChangedBase
    {
        private IEventAggregator eventAggregator;

        public Result[] LamaValue
        {
            get
            {
                return new Result[] 
                {
                    new Result(){ Value = 10000, Radius = 100.5m, Scenario=1 },
                    new Result(){ Value = 11000, Radius = 50.1m, Scenario=2 },
                    new Result(){ Value = 9127, Radius = 25.1m, Scenario=3 }
                };
            }
        }

        public Result[] Expertones
        {
            get
            {
                return new Result[] 
                {
                    new Result(){ Value = 12345, Radius = 25.5m, Scenario=4 },
                    new Result(){ Value = 19432, Radius = 50.1m, Scenario=5 },
                    new Result(){ Value = 17112, Radius = 50.1m, Scenario=6 }
                };
            }
        }

        [ImportingConstructor]
        public ResultsViewModel(IEventAggregator eventAggregator)
        {
            this.eventAggregator = eventAggregator;
        }
    }

    public class Result
    {
        public decimal Value { get; set; }
        public decimal Radius { get; set; }
        public int Scenario { get; set; }
    }
}
